<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <canvas id="canvas" width="800" height="600">您的浏览器不支持canvas标签</canvas>
  <script type="text/javascript">
      var oC = document.getElementById('canvas');
      var ctx = oC.getContext('2d');

      ctx.beginPath();

      ctx.arc(100,100,100,0,2*Math.PI,false);
      ctx.fillStyle="orange";
      ctx.fill();
  </script>
</body>
</html>
